package com.rany.day10.demo02;

public class ArrayIndexOffE {
    public static void main(String[] args) {
        int[] arr = new int[]{1,2,3,4};
        int i = intMethod(arr, 3);
        System.out.println(i);
    }
    public static int intMethod(int[] a,int index){
        int i = a[index];
        return i;
    }
}
